Applying Software Metrics to Formal Specifications: A Cognitive Approach
نویسندگان
چکیده
It is generally accepted that failure to reason correctly during the early stages of software development causes developers to make incorrect decisions which can lead to the introduction of faults or anomalies in systems. Most key development decisions are usually made at the early system speci cation stage of a software project and developers do not receive feedback on their accuracy until near its completion. Software metrics are generally aimed at the coding or testing stages of development, however, when the repercussions of erroneous work have already been incurred. This paper presents a tentative model for predicting those parts of formal speci cations which are most likely to admit erroneous inferences, in order that potential sources of human error may be reduced. The empirical data populating the model was generated during a series of cognitive experiments aimed at identifying linguistic properties of the Z notation which are prone to admit non-logical reasoning errors and biases in trained users.
منابع مشابه
An Efficient Methodology for Improving Code Quality Using Object oriented approach
Most of the software development activities require formal specification which can be used as a functional support for finding and fixing the bugs in deployed software. However such specifications are hard to verify since it suffers from high false positive rates. In order to solve this problem a suite of metrics is incorporated along with the specification mining system. The efficiency of the ...
متن کاملA case study in applying ontologies to augment and reason about the correctness of specifications
In this paper we investigate how software specifications can benefit from the presence of formal ontologies to augment and enrich their context. This makes it possible to verify the correctness of the specification with respect to formally represented domain knowledge. We present a meta-interpretation technique that allows us to perform checks for conceptual error occurrences in specifications....
متن کاملFormal Software Measurement for Object-oriented Business Models
This paper presents a set of metrics and pseudo-metrics for the measurement of conceptual distances in M.E.R.O.DE. business models. The measures are developed and validated using measure and measurement theory. It is argued that this metrics set constitutes a strong formal basis for the further assessment and prediction of relevant internal and external attributes of object-oriented specificati...
متن کاملTowards an Integrated Quality Assessment and Improvement Approach for UML Models
Models defined using the Unified Modeling Language (UML) are nowadays common parts of software documentations, specifications and sometimes even implementations. However, there is a broad variety of how UML is used. Reasons can be found, for example, in the lack of generally accepted modeling norms and guidelines, the semi-formal semantics of UML, or the complexity of the language. In practice,...
متن کاملAn Animation Tool for Supporting Specification-Based Software Architectures
One of the important issues in supporting specification-based software architectures is how to verify that formal specifications of a software system satisfy liveness, safety and timing constraints, and are consistent and complete with regard to user requirements. Animation has been proposed as one of the techniques for achieving this goal. This article presents a practical approach and a tool ...
متن کامل